package demo3;

import org.springframework.stereotype.Component;

/**
 * T恤
 */
@Component("summer")
public class Shirt implements Clothes{
    public void wear() {
        System.out.println("穿上T恤");
    }
}
